
 <?php 
      echo $this->Form->create('Tweet', array('action'=>'upload_image',"enctype" => "multipart/form-data"));
      echo $this->Form->input('image', array("type" => "file"));
      echo $this->Form->submit('upload');
      echo $this->Form->end();
?>

      
